<?php $this->load->view('base/header'); ?>

<link rel="stylesheet" media="screen" href="<?php echo base_url() . 'css/jquery.datatable.gui.css' ?>"/>
<link rel="stylesheet" media="screen" href="<?php echo base_url() . 'css/jquery-ui-1.8.14.custom.css' ?>"/>
<style>
    .ui-datepicker-calendar {
        display: none;
    }

</style>
<script type="text/javascript" src="<?php echo base_url() . 'js/jquery-ui-1.8.14.custom.min.js' ?>"></script>
<script type="text/javascript" src="<?php echo base_url() . 'js/jquery.dataTables.js' ?>"></script>
<script type="text/javascript" src="<?php echo base_url() . 'js/jquery.formatCurrency-1.4.0.js' ?>"></script>

<script type="text/javascript" src="<?php echo base_url() . 'js/br-04/debit.js' ?>"></script>
<script type="text/javascript" src="<?php echo base_url() . 'js/br-04/kredit.js' ?>"></script>
<script type="text/javascript" src="<?php echo base_url() . 'js/br-04/date.js' ?>"></script>
<script type="text/javascript" src="<?php echo base_url() . 'js/br-04/unit.js' ?>"></script>
<script type="text/javascript" src="<?php echo base_url() . 'js/br-04/transaksi_viabank.js' ?>"></script>


<section>
    <div class="container_8 clearfix">

        <!-- Main Section -->

        <section class="main-section grid_8">
            <!-- Tabs Section -->
            <div class="main-content">
                <header>
                    <ul class="action-buttons clearfix fr">

                    </ul>
                    <h2>Penerimaan Transaksi Via Bank</h2>
                </header>
                <section class="container_6 clearfix">
                    <div class="grid_6">

                        <section class="clearfix">
                            <form class="form" id="FORM_TRANSAKSI" method="post">
                                <div style="float: left;">
                                    
                                    <div class="clearfix">
                                        <label>Nomer BPB <small></small></label>
                                        <input type="text" name="BPB" id="BKK_BKB" />
                                    </div>
                                    <div class="clearfix">
                                        <label>Tanggal <small>yyyy-mm-dd</small></label>
                                        <input type="date" name="TGL_BPB" id="TGL_BPB" />
                                    </div>
                                </div>


                     
                                <div style="float: left;">
                                    <div class="clearfix">
                                        <label>Kode Unit <small></small></label>
                                        <input type="text" name="KODE_UNIT" id="KODE_UNIT" maxlength="3"/>
                                    </div>
                                   
                                </div>

                                <dir style="clear: both"></dir>
                                <hr/>

                                <div style="float: left;">
                                     <div class="clearfix">
                                        <label>Perkiraan <small>Debit</small></label>
                                        <input type="text" name="DEBIT" id="DEBIT" required="required" />
                                        <input type="hidden" name="ID_DEBIT" id="ID_DEBIT" required="required" />
                                    </div>
                                    <div class="clearfix">
                                        <label>Jumlah Penerimaan <small></small></label>
                                        <input type="text" name="JUMLAH_PENERIMAAN" id="JUMLAH_PENERIMAAN" class="currency" required="required" />
                                    </div>
                                </div>
                                
                                <br />
                                <br />
                                <div class="action clearfix">
                                    <button class="button button-gray" type="submit" id="ADD"><span class="accept"></span>Create</button>
                                    <button class="button button-gray" type="reset"><span class="bin"></span>Batalkan</button>
                                </div>
                            </form>
                        </section>
                    </div>
                </section>
            </div>
            <!-- End Tabs Section -->
    </div>
</section>
</div>


<div id="debit_dialog">
    <table id="debit_table" width="100%" class="datatable">
        <thead>
        </thead>
        <tbody>
        </tbody>
    </table>
</div>
<div id="kredit_dialog">
    <table id="kredit_table" width="100%" class="datatable">
        <thead>
        </thead>
        <tbody>
        </tbody>
    </table>
</div>
<div id="unit_dialog">
    <table id="unit_table" width="100%" class="datatable">
        <thead>
        </thead>
        <tbody>
        </tbody>
    </table>
</div>




<?php $this->load->view('base/footer'); ?>
